<form action="index.php?module=user&act=list&mode=delall&check=yes" method="post">
<h4>Ban co muon xoa nhung thanh vien sau: </h4>
<?php
	echo "<ul>";
	foreach($data['list'] as $item){
		echo "<li>$item[id] - $item[username]</li>";
		$arr[]=$item[id];
	}
	echo "</ul>";
	$str=implode(",",$arr);
?>
		<input type="hidden" name="id" value="<?php echo $str; ?>" />
    	<input type="submit" name="ok" value="Delete" onclick="if(!window.confirm('Ban co chac la muon xoa nhung id nay ?')) return false;" />

</form>